package cn.gjculture.shopping.api.service;

import cn.gjculture.shopping.api.entity.Activity;
import cn.gjculture.shopping.api.entity.Goods;

import java.util.List;

public interface ActivityService {
    int insert(Activity activity);

    List<Activity> query();

    Activity queryById(String activityId);

    int deleteMore(List<String> activitys);

    int update(Activity activity);

    List<Activity> queryValidActivity();

    void queryActivityByGoods(Goods goods);
}
